package com.qianli.cashmama.trade.client.vo;

import com.qianli.cashmama.trade.common.enums.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/8/3
 * Time: 上午9:49
 */
public class TradeVO implements Serializable {

    private String tradeNo;

    private TradeStatusEnum tradeStatus;

    private TradeAuditSubStatusEnum auditSubStatus;

    private Date applyDate;

    private String borrowCapital;

    private int totalPeriod;

    private BigDecimal receivedTotalCapital;

    private TradeBorrowDurationEnum periodUnit;

    private Date receivedDate;

    private String productCategory;

    private String productCode;

    private String bankNo;

    private String bankName;

    private String userCode;

    private int periodLength;

    private TradeBorrowDurationEnum borrowDurationEnum;

    private TradeCloseTypeEnum closeTypeEnum;

    private TradeSignStatusEnum signStatusEnum;

    private String paidCapital;

    private boolean paidOff;

    private Date paidOffODate;

    private String identityNo;

    private BigDecimal overdueRatio;

    /**
     * 渠道code
     */
    private String channelCode;

    /**
     *是否是新客 1：新客  0 老客
     */
    private Integer newUser;

    private String merchantCode;

    public Integer getNewUser() {
        return newUser;
    }

    public TradeVO setNewUser(Integer newUser) {
        this.newUser = newUser;
        return this;
    }

    public TradeSignStatusEnum getSignStatusEnum() {
        return signStatusEnum;
    }

    public TradeVO setSignStatusEnum(TradeSignStatusEnum signStatusEnum) {
        this.signStatusEnum = signStatusEnum;
        return this;
    }

    public String getBankName() {
        return bankName;
    }

    public TradeVO setBankName(String bankName) {
        this.bankName = bankName;
        return this;
    }

    public String getPaidCapital() {
        return paidCapital;
    }

    public TradeVO setPaidCapital(String paidCapital) {
        this.paidCapital = paidCapital;
        return this;
    }

    public Date getPaidOffODate() {
        return paidOffODate;
    }

    public TradeVO setPaidOffODate(Date paidOffODate) {
        this.paidOffODate = paidOffODate;
        return this;
    }

    public String getUserCode() {
        return userCode;
    }

    public TradeVO setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public TradeCloseTypeEnum getCloseTypeEnum() {
        return closeTypeEnum;
    }

    public TradeVO setCloseTypeEnum(TradeCloseTypeEnum closeTypeEnum) {
        this.closeTypeEnum = closeTypeEnum;
        return this;
    }

    public int getPeriodLength() {
        return periodLength;
    }

    public TradeVO setPeriodLength(int periodLength) {
        this.periodLength = periodLength;
        return this;
    }

    public TradeBorrowDurationEnum getBorrowDurationEnum() {
        return borrowDurationEnum;
    }

    public TradeVO setBorrowDurationEnum(TradeBorrowDurationEnum borrowDurationEnum) {
        this.borrowDurationEnum = borrowDurationEnum;
        return this;
    }

    public String getBankNo() {
        return bankNo;
    }

    public TradeVO setBankNo(String bankNo) {
        this.bankNo = bankNo;
        return this;
    }

    public String getProductCategory() {
        return productCategory;
    }

    public TradeVO setProductCategory(String productCategory) {
        this.productCategory = productCategory;
        return this;
    }

    public String getProductCode() {
        return productCode;
    }

    public TradeVO setProductCode(String productCode) {
        this.productCode = productCode;
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public TradeVO setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public TradeStatusEnum getTradeStatus() {
        return tradeStatus;
    }

    public TradeVO setTradeStatus(TradeStatusEnum tradeStatus) {
        this.tradeStatus = tradeStatus;
        return this;
    }

    public TradeAuditSubStatusEnum getAuditSubStatus() {
        return auditSubStatus;
    }

    public TradeVO setAuditSubStatus(TradeAuditSubStatusEnum auditSubStatus) {
        this.auditSubStatus = auditSubStatus;
        return this;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public TradeVO setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
        return this;
    }

    public String getBorrowCapital() {
        return borrowCapital;
    }

    public TradeVO setBorrowCapital(String borrowCapital) {
        this.borrowCapital = borrowCapital;
        return this;
    }

    public int getTotalPeriod() {
        return totalPeriod;
    }

    public TradeVO setTotalPeriod(int totalPeriod) {
        this.totalPeriod = totalPeriod;
        return this;
    }


    public TradeBorrowDurationEnum getPeriodUnit() {
        return periodUnit;
    }

    public TradeVO setPeriodUnit(TradeBorrowDurationEnum periodUnit) {
        this.periodUnit = periodUnit;
        return this;
    }

    public Date getReceivedDate() {
        return receivedDate;
    }

    public TradeVO setReceivedDate(Date receivedDate) {
        this.receivedDate = receivedDate;
        return this;
    }

    public boolean isPaidOff() {
        return paidOff;
    }

    public TradeVO setPaidOff(boolean paidOff) {
        this.paidOff = paidOff;
        return this;
    }

    public String getIdentityNo() {
        return identityNo;
    }

    public TradeVO setIdentityNo(String identityNo) {
        this.identityNo = identityNo;
        return this;
    }

    public BigDecimal getReceivedTotalCapital() {
        return receivedTotalCapital;
    }

    public TradeVO setReceivedTotalCapital(BigDecimal receivedTotalCapital) {
        this.receivedTotalCapital = receivedTotalCapital;
        return this;
    }

    public BigDecimal getOverdueRatio() {
        return overdueRatio;
    }

    public TradeVO setOverdueRatio(BigDecimal overdueRatio) {
        this.overdueRatio = overdueRatio;
        return this;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public TradeVO setChannelCode(String channelCode) {
        this.channelCode = channelCode;
        return this;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public TradeVO setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
        return this;
    }
}
